@extends('layouts.app')

@section('content')
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <button class="btn" onclick="history.go(-1);">
                            <span class="glyphicon glyphicon-arrow-left" aria-hidden="true"></span>
                        </button>
                        生命密码管理-详情</div>

                    <div class="panel-body">
                        @if (session('status'))
                            <div class="alert alert-success">
                                {{ session('status') }}
                            </div>
                        @endif
                            <form class="form-horizontal" method="POST" action="{{ route('talent_store') }}">
                                {{ csrf_field() }}

                                <h3 class="panel_title">基础字段</h3>


                                <div class="form-group{{ $errors->has('main_number') ? ' has-error' : '' }}">
                                    <label for="email" class="col-md-4 control-label">主数字</label>

                                    <div class="col-md-6 detail-txt">
                                        {{--<input id="main_number" type="number" class="form-control" name="main_number" value="{{ old('email') }}" required autofocus>--}}
                                        {{ $talent->main_number }}
                                    </div>
                                </div>

                                <div class="form-group{{ $errors->has('brief') ? ' has-error' : '' }}">
                                    <label for="password" class="col-md-4 control-label">一句话描述</label>

                                    <div class="col-md-6 detail-txt">

                                            {{ $talent->brief }}
                                    </div>
                                </div>

                                <div class="form-group{{ $errors->has('description') ? ' has-error' : '' }}">
                                    <label for="description" class="col-md-4 control-label">详细描述</label>

                                    <div class="col-md-6 detail-txt">
                                            {!! $talent->description !!}
                                    </div>
                                </div>

                                <div class="form-group{{ $errors->has('career_path') ? ' has-error' : '' }}">
                                    <label for="career_path" class="col-md-4 control-label">职业方向</label>

                                    <div class="col-md-6 detail-txt">
                                        {!! $talent->career_path !!}
                                    </div>
                                </div>

                                <div class="form-group{{ $errors->has('guiding_strategy') ? ' has-error' : '' }}">
                                    <label for="guiding_strategy" class="col-md-4 control-label">引导策略</label>

                                    <div class="col-md-6 detail-txt">
                                        {!! $talent->guiding_strategy !!}
                                    </div>
                                </div>



                                <div class="form-group{{ $errors->has('little_more') ? ' has-error' : '' }}">
                                    <label for="little_more" class="col-md-4 control-label">多数性格</label>

                                    <div class="col-md-6 detail-txt">
                                        {!! $talent->little_more !!}
                                    </div>
                                </div>

                                <div class="form-group{{ $errors->has('little_less') ? ' has-error' : '' }}">
                                    <label for="little_less" class="col-md-4 control-label">缺数性格</label>

                                    <div class="col-md-6 detail-txt">
                                        {!! $talent->little_less !!}
                                    </div>
                                </div>

                                <h3 class="panel_title">课程相关字段</h3>


                                <div class="form-group{{ $errors->has('parents_common_course') ? ' has-error' : '' }}">
                                    <label for="parents_common_course" class="col-md-4 control-label">父母基础课程</label>

                                    <div class="col-md-6 detail-txt">
                                        {!! $talent->parents_common_course !!}
                                    </div>
                                </div>

                                <div class="form-group{{ $errors->has('kids_common_course') ? ' has-error' : '' }}">
                                    <label for="kids_common_course" class="col-md-4 control-label">孩子基础课程</label>

                                    <div class="col-md-6 detail-txt">
                                        {!! $talent->kids_common_course !!}
                                    </div>
                                </div>

                                <div class="form-group{{ $errors->has('kids_personal_course') ? ' has-error' : '' }}">
                                    <label for="kids_personal_course" class="col-md-4 control-label">孩子个性课程</label>

                                    <div class="col-md-6 detail-txt">
                                        {!! $talent->kids_personal_course !!}
                                    </div>
                                </div>


                                <div class="form-group">
                                    <div class="col-md-8 col-md-offset-4">
                                        <button type="button" onclick="history.go(-1);" class="btn btn-primary">
                                            返回
                                        </button>
                                    </div>
                                </div>



                            </form>

                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection
